<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: fsl_lpsci.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fsl__lpsci_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">fsl_lpsci.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2015, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef _FSL_LPSCI_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define _FSL_LPSCI_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;fsl_common.h&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"> * Definitions</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#define FSL_LPSCI_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) </span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__lpsci.html#gac1d1feb1e13e35beba93e7afce633e16">   48</a></span>&#160;<span class="preprocessor">enum _lpsci_status</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a7073247ab412c287a4ba590e9a3f1763">   50</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a7073247ab412c287a4ba590e9a3f1763">kStatus_LPSCI_TxBusy</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 0), </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a5e225b6f93a42436b01525305eb345b8">   51</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a5e225b6f93a42436b01525305eb345b8">kStatus_LPSCI_RxBusy</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 1), </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb9eaa06221caa3b15102135bcc58cb0">   52</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb9eaa06221caa3b15102135bcc58cb0">kStatus_LPSCI_TxIdle</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 2), </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a4d3b44544996f003e9246e4b725e1db3">   53</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a4d3b44544996f003e9246e4b725e1db3">kStatus_LPSCI_RxIdle</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 3), </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb37b9124115df5b59a01b4311ad1243">   54</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb37b9124115df5b59a01b4311ad1243">kStatus_LPSCI_FlagCannotClearManually</a> =</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 2), </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a1ac38136f23a4f1ca18a86972ee51246">   56</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a1ac38136f23a4f1ca18a86972ee51246">kStatus_LPSCI_BaudrateNotSupport</a> =</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 3),                   </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a741410f4c0886c858378ce1ac51da0a5">   58</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a741410f4c0886c858378ce1ac51da0a5">kStatus_LPSCI_Error</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 4), </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a2288eb249cfe864ee29a1e53e5254f47">   59</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a2288eb249cfe864ee29a1e53e5254f47">kStatus_LPSCI_RxRingBufferOverrun</a> =</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 8),                               </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a3d001d307f032b50fa810b1374abf4e0">   61</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a3d001d307f032b50fa810b1374abf4e0">kStatus_LPSCI_RxHardwareOverrun</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 9), </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a24c82dc147e0ddc96f7b882a8c4d8d54">   62</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a24c82dc147e0ddc96f7b882a8c4d8d54">kStatus_LPSCI_NoiseError</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 10),       </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a526b9a4050c3dcd92b53c59565dc033f">   63</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a526b9a4050c3dcd92b53c59565dc033f">kStatus_LPSCI_FramingError</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 11),     </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a432958a10e6bf938ba2301f890e84a55">   64</a></span>&#160;    <a class="code" href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a432958a10e6bf938ba2301f890e84a55">kStatus_LPSCI_ParityError</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a>, 12),      </div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;};</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga914e25b9b58c086d6ee790f7bbe96de1">   68</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _lpsci_parity_mode</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1a702ea1a55bf3eb879fd5d817cd95a696">   70</a></span>&#160;    <a class="code" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1a702ea1a55bf3eb879fd5d817cd95a696">kLPSCI_ParityDisabled</a> = 0x0U, </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1aa95669109142cc4f43e257e702ddd6fe">   71</a></span>&#160;    <a class="code" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1aa95669109142cc4f43e257e702ddd6fe">kLPSCI_ParityEven</a> = 0x2U,     </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1afa5d5edd522b4ade258f3792901927c1">   72</a></span>&#160;    <a class="code" href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1afa5d5edd522b4ade258f3792901927c1">kLPSCI_ParityOdd</a> = 0x3U,      </div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;} <a class="code" href="group__lpsci.html#ga914e25b9b58c086d6ee790f7bbe96de1">lpsci_parity_mode_t</a>;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga1e71c77aa3c6663fa13a36614ecd5218">   76</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _lpsci_stop_bit_count</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;{</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a807eb926b7cd6cc5d25a34689e16075f">   78</a></span>&#160;    <a class="code" href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a807eb926b7cd6cc5d25a34689e16075f">kLPSCI_OneStopBit</a> = 0U, </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a12446eb122de9a901036aabab33d4bdc">   79</a></span>&#160;    <a class="code" href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a12446eb122de9a901036aabab33d4bdc">kLPSCI_TwoStopBit</a> = 1U, </div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;} <a class="code" href="group__lpsci.html#ga1e71c77aa3c6663fa13a36614ecd5218">lpsci_stop_bit_count_t</a>;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__lpsci.html#gaa58d87d0b59b83414988fbb1b7c79cdb">   87</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__lpsci.html#gaa58d87d0b59b83414988fbb1b7c79cdb">_lpsci_interrupt_enable_t</a></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;{</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_LPSCI_HAS_LIN_BREAK_DETECT) &amp;&amp; FSL_FEATURE_LPSCI_HAS_LIN_BREAK_DETECT</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba09ef11585639ac53f945a7a524674c47">   90</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba09ef11585639ac53f945a7a524674c47">kLPSCI_LinBreakInterruptEnable</a> = (UART0_BDH_LBKDIE_MASK), </div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;#endif</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaac1b4da30c60fd98e4f5dcdada110a38">   92</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaac1b4da30c60fd98e4f5dcdada110a38">kLPSCI_RxActiveEdgeInterruptEnable</a> = (UART0_BDH_RXEDGIE_MASK),   </div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaea5f6ef08a50d1576b99c3aad6618fe4">   93</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaea5f6ef08a50d1576b99c3aad6618fe4">kLPSCI_TxDataRegEmptyInterruptEnable</a> = (UART0_C2_TIE_MASK &lt;&lt; 8), </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaacef19879d6eee40c11bd0ced8756602">   94</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaacef19879d6eee40c11bd0ced8756602">kLPSCI_TransmissionCompleteInterruptEnable</a> = (UART0_C2_TCIE_MASK &lt;&lt; 8), </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaf51e3ebc1b14f13e9b4cfe4859c0a9b3">   95</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaf51e3ebc1b14f13e9b4cfe4859c0a9b3">kLPSCI_RxDataRegFullInterruptEnable</a> = (UART0_C2_RIE_MASK &lt;&lt; 8),  </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbac75c2bc89795da716eda76084fe79b17">   96</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbac75c2bc89795da716eda76084fe79b17">kLPSCI_IdleLineInterruptEnable</a> = (UART0_C2_ILIE_MASK &lt;&lt; 8),      </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba1b0296dd785a43396080e4167452ff54">   97</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba1b0296dd785a43396080e4167452ff54">kLPSCI_RxOverrunInterruptEnable</a> = (UART0_C3_ORIE_MASK &lt;&lt; 16),    </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba2fcadea24f1f01f6e2953ad0a96e5621">   98</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba2fcadea24f1f01f6e2953ad0a96e5621">kLPSCI_NoiseErrorInterruptEnable</a> = (UART0_C3_NEIE_MASK &lt;&lt; 16),   </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba5354940b55c917fd282585166e8b97f6">   99</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba5354940b55c917fd282585166e8b97f6">kLPSCI_FramingErrorInterruptEnable</a> = (UART0_C3_FEIE_MASK &lt;&lt; 16), </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba38b0f225428a019dff8bada27b15dc0d">  100</a></span>&#160;    <a class="code" href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba38b0f225428a019dff8bada27b15dc0d">kLPSCI_ParityErrorInterruptEnable</a> = (UART0_C3_PEIE_MASK &lt;&lt; 16),  </div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;};</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga581702dbe0430a177c664a5d495224be">  108</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__lpsci.html#ga581702dbe0430a177c664a5d495224be">_lpsci_status_flag_t</a></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea36464c4b39e7c08242b717978cca4217">  110</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea36464c4b39e7c08242b717978cca4217">kLPSCI_TxDataRegEmptyFlag</a> = (UART0_S1_TDRE_MASK), </div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6500e8ab15028ce548dbe9a43484fb4c">  111</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6500e8ab15028ce548dbe9a43484fb4c">kLPSCI_TransmissionCompleteFlag</a> =</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        (UART0_S1_TC_MASK), </div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea35ec5c8d6104b078fa6b01c0bee0a15e">  113</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea35ec5c8d6104b078fa6b01c0bee0a15e">kLPSCI_RxDataRegFullFlag</a> =</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        (UART0_S1_RDRF_MASK), </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6d471331d3bea279810a621312ae3840">  115</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6d471331d3bea279810a621312ae3840">kLPSCI_IdleLineFlag</a> = (UART0_S1_IDLE_MASK), </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bead2330d54a37be33a8732aa4d6fe3e288">  116</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bead2330d54a37be33a8732aa4d6fe3e288">kLPSCI_RxOverrunFlag</a> =</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        (UART0_S1_OR_MASK), </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea621a62a970f875d220befad233ad6a58">  118</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea621a62a970f875d220befad233ad6a58">kLPSCI_NoiseErrorFlag</a> = (UART0_S1_NF_MASK), </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6923b3152838210054bfc4791d8ac43c">  120</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6923b3152838210054bfc4791d8ac43c">kLPSCI_FramingErrorFlag</a> =</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        (UART0_S1_FE_MASK), </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beacb0ea6d4b7af5a744a5901f0b1b7520f">  122</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beacb0ea6d4b7af5a744a5901f0b1b7520f">kLPSCI_ParityErrorFlag</a> = (UART0_S1_PF_MASK), </div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_LPSCI_HAS_LIN_BREAK_DETECT) &amp;&amp; FSL_FEATURE_LPSCI_HAS_LIN_BREAK_DETECT</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea7142ca52e95d1881d6c0d1c764247226">  124</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea7142ca52e95d1881d6c0d1c764247226">kLPSCI_LinBreakFlag</a> =</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        (UART0_S2_LBKDIF_MASK</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;         &lt;&lt; 8), </div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;#endif</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea921c671d6a1a82e189977db8f44973d1">  128</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea921c671d6a1a82e189977db8f44973d1">kLPSCI_RxActiveEdgeFlag</a> =</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        (UART0_S2_RXEDGIF_MASK &lt;&lt; 8), </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beaa7a30af77f7c1c6725fa055aa4c466b2">  130</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beaa7a30af77f7c1c6725fa055aa4c466b2">kLPSCI_RxActiveFlag</a> =</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        (UART0_S2_RAF_MASK &lt;&lt; 8), </div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;#<span class="keywordflow">if</span> defined(FSL_FEATURE_LPSCI_HAS_EXTENDED_DATA_REGISTER_FLAGS) &amp;&amp; FSL_FEATURE_LPSCI_HAS_EXTENDED_DATA_REGISTER_FLAGS</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3ee691a573b941c34ab5cfe3bcf81b28">  133</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3ee691a573b941c34ab5cfe3bcf81b28">kLPSCI_NoiseErrorInRxDataRegFlag</a> =</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        (UART0_ED_NOISY_MASK &lt;&lt; 16), </div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3132ea82244866881f523c3bcd55c198">  135</a></span>&#160;    <a class="code" href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3132ea82244866881f523c3bcd55c198">kLPSCI_ParityErrorInRxDataRegFlag</a> =</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        (UART0_ED_PARITYE_MASK &lt;&lt; 16), </div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;};</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="group__lpsci.html">  141</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_lpsci_config</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__lpsci.html#aa5df547b4cb95d3c959373cf6fa672b5">  143</a></span>&#160;    uint32_t <a class="code" href="group__lpsci.html#aa5df547b4cb95d3c959373cf6fa672b5">baudRate_Bps</a>;          </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__lpsci.html#a1edf99079502ab6deff849f01807ae45">  144</a></span>&#160;    <a class="code" href="group__lpsci.html#ga914e25b9b58c086d6ee790f7bbe96de1">lpsci_parity_mode_t</a> <a class="code" href="group__lpsci.html#a1edf99079502ab6deff849f01807ae45">parityMode</a>; </div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_LPSCI_HAS_STOP_BIT_CONFIG_SUPPORT) &amp;&amp; FSL_FEATURE_LPSCI_HAS_STOP_BIT_CONFIG_SUPPORT</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="group__lpsci.html#a70806329ec87792f8d1ad8ecb59439a2">  146</a></span>&#160;    <a class="code" href="group__lpsci.html#ga1e71c77aa3c6663fa13a36614ecd5218">lpsci_stop_bit_count_t</a> <a class="code" href="group__lpsci.html#a70806329ec87792f8d1ad8ecb59439a2">stopBitCount</a>; </div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="group__lpsci.html#a221caf5c134ec8fcee82b8505ee75731">  148</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__lpsci.html#a221caf5c134ec8fcee82b8505ee75731">enableTx</a>; </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="group__lpsci.html#ac6fe4a8b966fb5611f77358b819671b2">  149</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__lpsci.html#ac6fe4a8b966fb5611f77358b819671b2">enableRx</a>; </div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;} <a class="code" href="group__lpsci.html#structlpsci__config__t">lpsci_config_t</a>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="group__lpsci.html">  153</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_lpsci_transfer</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;{</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="group__lpsci.html#abe222f6d3581e7920dcad5306cc906a8">  155</a></span>&#160;    uint8_t *<a class="code" href="group__lpsci.html#abe222f6d3581e7920dcad5306cc906a8">data</a>;   </div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="group__lpsci.html#a78f9703861dd365a513c2c5aab9f9239">  156</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#a78f9703861dd365a513c2c5aab9f9239">dataSize</a>; </div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;} <a class="code" href="group__lpsci.html#structlpsci__transfer__t">lpsci_transfer_t</a>;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">/* Forward declaration of the handle typedef. */</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__lpsci.html#struct__lpsci__handle">_lpsci_handle</a> lpsci_handle_t;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga089281ce28e5d8065f4af98a66e12b12">  163</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__lpsci.html#ga089281ce28e5d8065f4af98a66e12b12">lpsci_transfer_callback_t</a>)(UART0_Type *base, lpsci_handle_t *handle, <a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> status, <span class="keywordtype">void</span> *<a class="code" href="group__lpsci.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">/*&lt;! @brief LPSCI handle used for storing the state among transactional APIs&#39; calling. This structure is only used for</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment"> * transactional APIs. */</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="group__lpsci.html">  167</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__lpsci.html#struct__lpsci__handle">_lpsci_handle</a></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;{</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__lpsci.html#ab56d8f300582ce9d7f4a79729124739d">  169</a></span>&#160;    uint8_t *<span class="keyword">volatile</span> <a class="code" href="group__lpsci.html#ab56d8f300582ce9d7f4a79729124739d">txData</a>;   </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group__lpsci.html#a1f9d0ac47a5cdabb34988d5d811aceaf">  170</a></span>&#160;    <span class="keyword">volatile</span> <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#a1f9d0ac47a5cdabb34988d5d811aceaf">txDataSize</a>; </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__lpsci.html#a733be3042be24bb3eb6f0c6a82d28862">  171</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#a733be3042be24bb3eb6f0c6a82d28862">txDataSizeAll</a>;       </div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="group__lpsci.html#aa58335de5bfa8923228432b62ea9308a">  172</a></span>&#160;    uint8_t *<span class="keyword">volatile</span> <a class="code" href="group__lpsci.html#aa58335de5bfa8923228432b62ea9308a">rxData</a>;   </div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="group__lpsci.html#ae1b7c6ae1b7e7ead628afe5410fa3f31">  173</a></span>&#160;    <span class="keyword">volatile</span> <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#ae1b7c6ae1b7e7ead628afe5410fa3f31">rxDataSize</a>; </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__lpsci.html#a180fd12c1a88bb61ac4b817f4e4e6bcd">  174</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#a180fd12c1a88bb61ac4b817f4e4e6bcd">rxDataSizeAll</a>;       </div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="group__lpsci.html#a522d206ac2b0dde63cd3e7190853eaf2">  176</a></span>&#160;    uint8_t *<a class="code" href="group__lpsci.html#a522d206ac2b0dde63cd3e7190853eaf2">rxRingBuffer</a>;              </div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="group__lpsci.html#a3fc25566538e662d74eb1444598a8277">  177</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__lpsci.html#a3fc25566538e662d74eb1444598a8277">rxRingBufferSize</a>;            </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="group__lpsci.html#ac4f75206cf9b8009cdf64a30e05b01d8">  178</a></span>&#160;    <span class="keyword">volatile</span> uint16_t <a class="code" href="group__lpsci.html#ac4f75206cf9b8009cdf64a30e05b01d8">rxRingBufferHead</a>; </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__lpsci.html#a89b3f14260503bd82300f27872236474">  179</a></span>&#160;    <span class="keyword">volatile</span> uint16_t <a class="code" href="group__lpsci.html#a89b3f14260503bd82300f27872236474">rxRingBufferTail</a>; </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="group__lpsci.html#a8ad815cf0af5fd681ee59d3b662aa87a">  181</a></span>&#160;    <a class="code" href="group__lpsci.html#ga089281ce28e5d8065f4af98a66e12b12">lpsci_transfer_callback_t</a> <a class="code" href="group__lpsci.html#a8ad815cf0af5fd681ee59d3b662aa87a">callback</a>; </div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="group__lpsci.html#a2e294dd14122c554baa0665072b4ca7a">  182</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="group__lpsci.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>;                     </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="group__lpsci.html#a4e027f3342bad321ec60b56d164eb068">  184</a></span>&#160;    <span class="keyword">volatile</span> uint8_t <a class="code" href="group__lpsci.html#a4e027f3342bad321ec60b56d164eb068">txState</a>; </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="group__lpsci.html#a6f289c8f3bd5e967fb808de6da7f1c0c">  185</a></span>&#160;    <span class="keyword">volatile</span> uint8_t <a class="code" href="group__lpsci.html#a6f289c8f3bd5e967fb808de6da7f1c0c">rxState</a>; </div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;};</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment"> * API</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _cplusplus */</span><span class="preprocessor"></span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#gaba2b35edef52515ce868e0e2f7fade81">LPSCI_Init</a>(UART0_Type *base, <span class="keyword">const</span> <a class="code" href="group__lpsci.html#structlpsci__config__t">lpsci_config_t</a> *config, uint32_t srcClock_Hz);</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga9c1cc2d653394f88a5f9a4c3a6c5f498">LPSCI_Deinit</a>(UART0_Type *base);</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga4246a6f2a19ea028917059e372592b7d">LPSCI_GetDefaultConfig</a>(<a class="code" href="group__lpsci.html#structlpsci__config__t">lpsci_config_t</a> *config);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#ga58f4b156863ea675c4143882208a8736">LPSCI_SetBaudRate</a>(UART0_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;uint32_t <a class="code" href="group__lpsci.html#gadece7c20e6564c0a726f39862b5e8fdd">LPSCI_GetStatusFlags</a>(UART0_Type *base);</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="comment">/* @brief Clears status flags with a provided mask.</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment">* This function clears the LPSCI status flags with a provided mask. Automatically cleared flag</span></div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment">* can&#39;t be cleared by this function.</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment">* Some flags can only be cleared or set by hardware. These flags are:</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">*    kLPSCI_TxDataRegEmptyFlag,kLPSCI_TransmissionCompleteFlag,kLPSCI_RxDataRegFullFlag,kLPSCI_RxActiveFlag,kLPSCI_NoiseErrorInRxDataRegFlag</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment">*    kLPSCI_ParityErrorInRxDataRegFlag,kLPSCI_TxFifoEmptyFlag,kLPSCI_RxFifoEmptyFlag</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment">* Note: This API should be called when the Tx/Rx is idle, otherwise it takes no effects.</span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment">* @param base LPSCI peripheral base address.</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="comment">* @param mask The status flags to be cleared, it is logical OR value of @ref _LPSCI_flagss.</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="comment">* @retval kStatus_LPSCI_FlagCannotClearManually  can&#39;t be cleared by this function but it is cleared</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="comment">* automatically by hardware.</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="comment">* @retval kStatus_Success Status in the mask are cleared.</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> LPSCI_ClearStatusFlags(UART0_Type *base, uint32_t mask);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gae7cd8c6678f9fe56adb5df2d8e3bc121">LPSCI_EnableInterrupts</a>(UART0_Type *base, uint32_t mask);</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga1864d45e565615e20382215869b51ea7">LPSCI_DisableInterrupts</a>(UART0_Type *base, uint32_t mask);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;uint32_t <a class="code" href="group__lpsci.html#gaf1fb22a4d3ce4827ff8c9feb0b1e7988">LPSCI_GetEnabledInterrupts</a>(UART0_Type *base);</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_LPSCI_HAS_DMA_ENABLE) &amp;&amp; FSL_FEATURE_LPSCI_HAS_DMA_ENABLE</span></div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="group__lpsci.html#gaa39e1eb0307e57d24a3305f86ba5a7d1">  383</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code" href="group__lpsci.html#gaa39e1eb0307e57d24a3305f86ba5a7d1">LPSCI_GetDataRegisterAddress</a>(UART0_Type *base)</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;{</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    <span class="keywordflow">return</span> (uint32_t) &amp; (base-&gt;D);</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;}</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga5ccc358115e35a4ebf86e6550352e0c7">  396</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga5ccc358115e35a4ebf86e6550352e0c7">LPSCI_EnableTxDMA</a>(UART0_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;{</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    {</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        base-&gt;C5 |= UART0_C5_TDMAE_MASK;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        base-&gt;C2 |= UART0_C2_TIE_MASK;</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    }</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    {</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        base-&gt;C5 &amp;= ~UART0_C5_TDMAE_MASK;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        base-&gt;C2 &amp;= ~UART0_C2_TIE_MASK;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    }</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;}</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div><div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga0f55bc5c5ac9e88598da3b57b8f80d29">  418</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga0f55bc5c5ac9e88598da3b57b8f80d29">LPSCI_EnableRxDMA</a>(UART0_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;{</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    {</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        base-&gt;C5 |= UART0_C5_RDMAE_MASK;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;        base-&gt;C2 |= UART0_C2_RIE_MASK;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    }</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    {</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        base-&gt;C5 &amp;= ~UART0_C5_RDMAE_MASK;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        base-&gt;C2 &amp;= ~UART0_C2_RIE_MASK;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    }</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;}</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* defined(FSL_FEATURE_LPSCI_HAS_DMA_ENABLE) &amp;&amp; FSL_FEATURE_LPSCI_HAS_DMA_ENABLE */</span><span class="preprocessor"></span></div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga63bf1a445a943202ea7c86a90141f56c">  448</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga63bf1a445a943202ea7c86a90141f56c">LPSCI_EnableTx</a>(UART0_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;{</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    {</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;        base-&gt;C2 |= UART0_C2_TE_MASK;</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;    }</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    {</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;        base-&gt;C2 &amp;= ~UART0_C2_TE_MASK;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    }</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;}</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga9ba0aa7051a89771bececd06dbf74bb1">  468</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga9ba0aa7051a89771bececd06dbf74bb1">LPSCI_EnableRx</a>(UART0_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;{</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    {</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        base-&gt;C2 |= UART0_C2_RE_MASK;</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    }</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    {</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;        base-&gt;C2 &amp;= ~UART0_C2_RE_MASK;</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;    }</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;}</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="group__lpsci.html#gaa13d00aa1d674d1132909792912ec92c">  489</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gaa13d00aa1d674d1132909792912ec92c">LPSCI_WriteByte</a>(UART0_Type *base, uint8_t data)</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;{</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    base-&gt;D = data;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;}</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="group__lpsci.html#ga90ac0899c71c47fdff8db3a5752a7130">  503</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="group__lpsci.html#ga90ac0899c71c47fdff8db3a5752a7130">LPSCI_ReadByte</a>(UART0_Type *base)</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;{</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    <span class="keywordflow">return</span> base-&gt;D;</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;}</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga2e327eede7ae083807a022a3e83a0443">LPSCI_TransferCreateHandle</a>(UART0_Type *base,</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;                                lpsci_handle_t *handle,</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;                                <a class="code" href="group__lpsci.html#ga089281ce28e5d8065f4af98a66e12b12">lpsci_transfer_callback_t</a> callback,</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;                                <span class="keywordtype">void</span> *userData);</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;</div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gad13abbc5047bf0489bc17bce8480e1af">LPSCI_TransferStartRingBuffer</a>(UART0_Type *base,</div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;                                   lpsci_handle_t *handle,</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;                                   uint8_t *ringBuffer,</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;                                   <span class="keywordtype">size_t</span> ringBufferSize);</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga44c795eb194dad914d8394d99c1d4552">LPSCI_TransferStopRingBuffer</a>(UART0_Type *base, lpsci_handle_t *handle);</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga016076dd8bc458c5753df306519324e6">LPSCI_TransferSendBlocking</a>(UART0_Type *base, <span class="keyword">const</span> uint8_t *data, <span class="keywordtype">size_t</span> length);</div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;</div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#ga998f33848590a21b5351d2536c64c116">LPSCI_TransferSendNonBlocking</a>(UART0_Type *base, lpsci_handle_t *handle, <a class="code" href="group__lpsci.html#structlpsci__transfer__t">lpsci_transfer_t</a> *xfer);</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;</div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gafde36882901dc0a2fed8ffe42a648ecd">LPSCI_TransferAbortSend</a>(UART0_Type *base, lpsci_handle_t *handle);</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;</div><div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#gad2eb23791ceb822e4d93d11af4ce9ee8">LPSCI_TransferGetSendCount</a>(UART0_Type *base, lpsci_handle_t *handle, uint32_t *count);</div><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#ga56786a698a5204ca9ea9475bb0ab1ea7">LPSCI_TransferReceiveBlocking</a>(UART0_Type *base, uint8_t *data, <span class="keywordtype">size_t</span> length);</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;</div><div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#gae1fc41709768728caf4b29fd2ab889e7">LPSCI_TransferReceiveNonBlocking</a>(UART0_Type *base,</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;                                          lpsci_handle_t *handle,</div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;                                          <a class="code" href="group__lpsci.html#structlpsci__transfer__t">lpsci_transfer_t</a> *xfer,</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;                                          <span class="keywordtype">size_t</span> *receivedBytes);</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gabc500f220e7d1dcf00baddf6337d31ba">LPSCI_TransferAbortReceive</a>(UART0_Type *base, lpsci_handle_t *handle);</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__lpsci.html#ga56e94947fb4c3766a582808193a52903">LPSCI_TransferGetReceiveCount</a>(UART0_Type *base, lpsci_handle_t *handle, uint32_t *count);</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#gaf279ff1dadb04bb817242c8be3c31acf">LPSCI_TransferHandleIRQ</a>(UART0_Type *base, lpsci_handle_t *handle);</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lpsci.html#ga4d6e29854dad94ef7c88ff5747a515af">LPSCI_TransferHandleErrorIRQ</a>(UART0_Type *base, lpsci_handle_t *handle);</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;</div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;}</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _FSL_LPSCI_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea621a62a970f875d220befad233ad6a58"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea621a62a970f875d220befad233ad6a58">kLPSCI_NoiseErrorFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:118</div></div>
<div class="ttc" id="group__lpsci_html_ga1864d45e565615e20382215869b51ea7"><div class="ttname"><a href="group__lpsci.html#ga1864d45e565615e20382215869b51ea7">LPSCI_DisableInterrupts</a></div><div class="ttdeci">void LPSCI_DisableInterrupts(UART0_Type *base, uint32_t mask)</div><div class="ttdoc">Disables the LPSCI interrupt according to a provided mask. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:413</div></div>
<div class="ttc" id="group__lpsci_html_ga5ccc358115e35a4ebf86e6550352e0c7"><div class="ttname"><a href="group__lpsci.html#ga5ccc358115e35a4ebf86e6550352e0c7">LPSCI_EnableTxDMA</a></div><div class="ttdeci">static void LPSCI_EnableTxDMA(UART0_Type *base, bool enable)</div><div class="ttdoc">Enables or disable LPSCI transmitter DMA request. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:396</div></div>
<div class="ttc" id="group__lpsci_html_a221caf5c134ec8fcee82b8505ee75731"><div class="ttname"><a href="group__lpsci.html#a221caf5c134ec8fcee82b8505ee75731">lpsci_config_t::enableTx</a></div><div class="ttdeci">bool enableTx</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:148</div></div>
<div class="ttc" id="group__lpsci_html_ga089281ce28e5d8065f4af98a66e12b12"><div class="ttname"><a href="group__lpsci.html#ga089281ce28e5d8065f4af98a66e12b12">lpsci_transfer_callback_t</a></div><div class="ttdeci">void(* lpsci_transfer_callback_t)(UART0_Type *base, lpsci_handle_t *handle, status_t status, void *userData)</div><div class="ttdoc">LPSCI transfer callback function. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:163</div></div>
<div class="ttc" id="group__lpsci_html_a6f289c8f3bd5e967fb808de6da7f1c0c"><div class="ttname"><a href="group__lpsci.html#a6f289c8f3bd5e967fb808de6da7f1c0c">_lpsci_handle::rxState</a></div><div class="ttdeci">volatile uint8_t rxState</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:185</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea7142ca52e95d1881d6c0d1c764247226"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea7142ca52e95d1881d6c0d1c764247226">kLPSCI_LinBreakFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:124</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea6500e8ab15028ce548dbe9a43484fb4c"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6500e8ab15028ce548dbe9a43484fb4c">kLPSCI_TransmissionCompleteFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:111</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a526b9a4050c3dcd92b53c59565dc033f"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a526b9a4050c3dcd92b53c59565dc033f">kStatus_LPSCI_FramingError</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:63</div></div>
<div class="ttc" id="group__lpsci_html_gad13abbc5047bf0489bc17bce8480e1af"><div class="ttname"><a href="group__lpsci.html#gad13abbc5047bf0489bc17bce8480e1af">LPSCI_TransferStartRingBuffer</a></div><div class="ttdeci">void LPSCI_TransferStartRingBuffer(UART0_Type *base, lpsci_handle_t *handle, uint8_t *ringBuffer, size_t ringBufferSize)</div><div class="ttdoc">Sets up the RX ring buffer. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:573</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a5e225b6f93a42436b01525305eb345b8"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a5e225b6f93a42436b01525305eb345b8">kStatus_LPSCI_RxBusy</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:51</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdbac75c2bc89795da716eda76084fe79b17"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbac75c2bc89795da716eda76084fe79b17">kLPSCI_IdleLineInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:96</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdba09ef11585639ac53f945a7a524674c47"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba09ef11585639ac53f945a7a524674c47">kLPSCI_LinBreakInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:90</div></div>
<div class="ttc" id="group__lpsci_html_a522d206ac2b0dde63cd3e7190853eaf2"><div class="ttname"><a href="group__lpsci.html#a522d206ac2b0dde63cd3e7190853eaf2">_lpsci_handle::rxRingBuffer</a></div><div class="ttdeci">uint8_t * rxRingBuffer</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:176</div></div>
<div class="ttc" id="group__lpsci_html_ga4d6e29854dad94ef7c88ff5747a515af"><div class="ttname"><a href="group__lpsci.html#ga4d6e29854dad94ef7c88ff5747a515af">LPSCI_TransferHandleErrorIRQ</a></div><div class="ttdeci">void LPSCI_TransferHandleErrorIRQ(UART0_Type *base, lpsci_handle_t *handle)</div><div class="ttdoc">LPSCI Error IRQ handle function. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:957</div></div>
<div class="ttc" id="group__lpsci_html_aa5df547b4cb95d3c959373cf6fa672b5"><div class="ttname"><a href="group__lpsci.html#aa5df547b4cb95d3c959373cf6fa672b5">lpsci_config_t::baudRate_Bps</a></div><div class="ttdeci">uint32_t baudRate_Bps</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:143</div></div>
<div class="ttc" id="group__lpsci_html_ga998f33848590a21b5351d2536c64c116"><div class="ttname"><a href="group__lpsci.html#ga998f33848590a21b5351d2536c64c116">LPSCI_TransferSendNonBlocking</a></div><div class="ttdeci">status_t LPSCI_TransferSendNonBlocking(UART0_Type *base, lpsci_handle_t *handle, lpsci_transfer_t *xfer)</div><div class="ttdoc">Transmits a buffer of data using the interrupt method. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:605</div></div>
<div class="ttc" id="group__lpsci_html_a89b3f14260503bd82300f27872236474"><div class="ttname"><a href="group__lpsci.html#a89b3f14260503bd82300f27872236474">_lpsci_handle::rxRingBufferTail</a></div><div class="ttdeci">volatile uint16_t rxRingBufferTail</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:179</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea921c671d6a1a82e189977db8f44973d1"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea921c671d6a1a82e189977db8f44973d1">kLPSCI_RxActiveEdgeFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:128</div></div>
<div class="ttc" id="group__lpsci_html_abe222f6d3581e7920dcad5306cc906a8"><div class="ttname"><a href="group__lpsci.html#abe222f6d3581e7920dcad5306cc906a8">lpsci_transfer_t::data</a></div><div class="ttdeci">uint8_t * data</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:155</div></div>
<div class="ttc" id="group__lpsci_html_gaa13d00aa1d674d1132909792912ec92c"><div class="ttname"><a href="group__lpsci.html#gaa13d00aa1d674d1132909792912ec92c">LPSCI_WriteByte</a></div><div class="ttdeci">static void LPSCI_WriteByte(UART0_Type *base, uint8_t data)</div><div class="ttdoc">Writes to the TX register. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:489</div></div>
<div class="ttc" id="group__lpsci_html_ga2e327eede7ae083807a022a3e83a0443"><div class="ttname"><a href="group__lpsci.html#ga2e327eede7ae083807a022a3e83a0443">LPSCI_TransferCreateHandle</a></div><div class="ttdeci">void LPSCI_TransferCreateHandle(UART0_Type *base, lpsci_handle_t *handle, lpsci_transfer_callback_t callback, void *userData)</div><div class="ttdoc">Initializes the LPSCI handle. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:541</div></div>
<div class="ttc" id="group__lpsci_html_gaa58d87d0b59b83414988fbb1b7c79cdb"><div class="ttname"><a href="group__lpsci.html#gaa58d87d0b59b83414988fbb1b7c79cdb">_lpsci_interrupt_enable_t</a></div><div class="ttdeci">_lpsci_interrupt_enable_t</div><div class="ttdoc">LPSCI interrupt configuration structure, default settings all disabled. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:87</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16acb37b9124115df5b59a01b4311ad1243"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb37b9124115df5b59a01b4311ad1243">kStatus_LPSCI_FlagCannotClearManually</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:54</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a7073247ab412c287a4ba590e9a3f1763"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a7073247ab412c287a4ba590e9a3f1763">kStatus_LPSCI_TxBusy</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:50</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdbaf51e3ebc1b14f13e9b4cfe4859c0a9b3"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaf51e3ebc1b14f13e9b4cfe4859c0a9b3">kLPSCI_RxDataRegFullInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:95</div></div>
<div class="ttc" id="group__lpsci_html_gae7cd8c6678f9fe56adb5df2d8e3bc121"><div class="ttname"><a href="group__lpsci.html#gae7cd8c6678f9fe56adb5df2d8e3bc121">LPSCI_EnableInterrupts</a></div><div class="ttdeci">void LPSCI_EnableInterrupts(UART0_Type *base, uint32_t mask)</div><div class="ttdoc">Enables an LPSCI interrupt according to a provided mask. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:404</div></div>
<div class="ttc" id="group__lpsci_html_ga9ba0aa7051a89771bececd06dbf74bb1"><div class="ttname"><a href="group__lpsci.html#ga9ba0aa7051a89771bececd06dbf74bb1">LPSCI_EnableRx</a></div><div class="ttdeci">static void LPSCI_EnableRx(UART0_Type *base, bool enable)</div><div class="ttdoc">Enables or disables the LPSCI receiver. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:468</div></div>
<div class="ttc" id="group__lpsci_html_gafde36882901dc0a2fed8ffe42a648ecd"><div class="ttname"><a href="group__lpsci.html#gafde36882901dc0a2fed8ffe42a648ecd">LPSCI_TransferAbortSend</a></div><div class="ttdeci">void LPSCI_TransferAbortSend(UART0_Type *base, lpsci_handle_t *handle)</div><div class="ttdoc">Aborts the interrupt-driven data transmit. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:636</div></div>
<div class="ttc" id="group__lpsci_html_gga1e71c77aa3c6663fa13a36614ecd5218a807eb926b7cd6cc5d25a34689e16075f"><div class="ttname"><a href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a807eb926b7cd6cc5d25a34689e16075f">kLPSCI_OneStopBit</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:78</div></div>
<div class="ttc" id="group__lpsci_html_a4e027f3342bad321ec60b56d164eb068"><div class="ttname"><a href="group__lpsci.html#a4e027f3342bad321ec60b56d164eb068">_lpsci_handle::txState</a></div><div class="ttdeci">volatile uint8_t txState</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:184</div></div>
<div class="ttc" id="group__lpsci_html_ga56786a698a5204ca9ea9475bb0ab1ea7"><div class="ttname"><a href="group__lpsci.html#ga56786a698a5204ca9ea9475bb0ab1ea7">LPSCI_TransferReceiveBlocking</a></div><div class="ttdeci">status_t LPSCI_TransferReceiveBlocking(UART0_Type *base, uint8_t *data, size_t length)</div><div class="ttdoc">Reads the RX register using a non-blocking method. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:501</div></div>
<div class="ttc" id="group__lpsci_html_ga9c1cc2d653394f88a5f9a4c3a6c5f498"><div class="ttname"><a href="group__lpsci.html#ga9c1cc2d653394f88a5f9a4c3a6c5f498">LPSCI_Deinit</a></div><div class="ttdeci">void LPSCI_Deinit(UART0_Type *base)</div><div class="ttdoc">Deinitializes an LPSCI instance. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:306</div></div>
<div class="ttc" id="group__lpsci_html_a70806329ec87792f8d1ad8ecb59439a2"><div class="ttname"><a href="group__lpsci.html#a70806329ec87792f8d1ad8ecb59439a2">lpsci_config_t::stopBitCount</a></div><div class="ttdeci">lpsci_stop_bit_count_t stopBitCount</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:146</div></div>
<div class="ttc" id="group__lpsci_html_ga90ac0899c71c47fdff8db3a5752a7130"><div class="ttname"><a href="group__lpsci.html#ga90ac0899c71c47fdff8db3a5752a7130">LPSCI_ReadByte</a></div><div class="ttdeci">static uint8_t LPSCI_ReadByte(UART0_Type *base)</div><div class="ttdoc">Reads the RX data register. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:503</div></div>
<div class="ttc" id="group__lpsci_html_ga58f4b156863ea675c4143882208a8736"><div class="ttname"><a href="group__lpsci.html#ga58f4b156863ea675c4143882208a8736">LPSCI_SetBaudRate</a></div><div class="ttdeci">status_t LPSCI_SetBaudRate(UART0_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz)</div><div class="ttdoc">Sets the LPSCI instance baudrate. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:326</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea36464c4b39e7c08242b717978cca4217"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea36464c4b39e7c08242b717978cca4217">kLPSCI_TxDataRegEmptyFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:110</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bead2330d54a37be33a8732aa4d6fe3e288"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bead2330d54a37be33a8732aa4d6fe3e288">kLPSCI_RxOverrunFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:116</div></div>
<div class="ttc" id="group__lpsci_html_ae1b7c6ae1b7e7ead628afe5410fa3f31"><div class="ttname"><a href="group__lpsci.html#ae1b7c6ae1b7e7ead628afe5410fa3f31">_lpsci_handle::rxDataSize</a></div><div class="ttdeci">volatile size_t rxDataSize</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:173</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea3ee691a573b941c34ab5cfe3bcf81b28"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3ee691a573b941c34ab5cfe3bcf81b28">kLPSCI_NoiseErrorInRxDataRegFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:133</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea35ec5c8d6104b078fa6b01c0bee0a15e"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea35ec5c8d6104b078fa6b01c0bee0a15e">kLPSCI_RxDataRegFullFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:113</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdbaac1b4da30c60fd98e4f5dcdada110a38"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaac1b4da30c60fd98e4f5dcdada110a38">kLPSCI_RxActiveEdgeInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:92</div></div>
<div class="ttc" id="group__lpsci_html_ab56d8f300582ce9d7f4a79729124739d"><div class="ttname"><a href="group__lpsci.html#ab56d8f300582ce9d7f4a79729124739d">_lpsci_handle::txData</a></div><div class="ttdeci">uint8_t *volatile txData</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:169</div></div>
<div class="ttc" id="group__lpsci_html_ga56e94947fb4c3766a582808193a52903"><div class="ttname"><a href="group__lpsci.html#ga56e94947fb4c3766a582808193a52903">LPSCI_TransferGetReceiveCount</a></div><div class="ttdeci">status_t LPSCI_TransferGetReceiveCount(UART0_Type *base, lpsci_handle_t *handle, uint32_t *count)</div><div class="ttdoc">Get the number of bytes that have been received. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:792</div></div>
<div class="ttc" id="group__lpsci_html_gaba2b35edef52515ce868e0e2f7fade81"><div class="ttname"><a href="group__lpsci.html#gaba2b35edef52515ce868e0e2f7fade81">LPSCI_Init</a></div><div class="ttdeci">status_t LPSCI_Init(UART0_Type *base, const lpsci_config_t *config, uint32_t srcClock_Hz)</div><div class="ttdoc">Initializes an LPSCI instance with the user configuration structure and the peripheral clock...</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:197</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea6d471331d3bea279810a621312ae3840"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6d471331d3bea279810a621312ae3840">kLPSCI_IdleLineFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:115</div></div>
<div class="ttc" id="group__lpsci_html_aa58335de5bfa8923228432b62ea9308a"><div class="ttname"><a href="group__lpsci.html#aa58335de5bfa8923228432b62ea9308a">_lpsci_handle::rxData</a></div><div class="ttdeci">uint8_t *volatile rxData</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:172</div></div>
<div class="ttc" id="group__lpsci_html_gga914e25b9b58c086d6ee790f7bbe96de1a702ea1a55bf3eb879fd5d817cd95a696"><div class="ttname"><a href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1a702ea1a55bf3eb879fd5d817cd95a696">kLPSCI_ParityDisabled</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:70</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdba5354940b55c917fd282585166e8b97f6"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba5354940b55c917fd282585166e8b97f6">kLPSCI_FramingErrorInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:99</div></div>
<div class="ttc" id="group__lpsci_html_gadece7c20e6564c0a726f39862b5e8fdd"><div class="ttname"><a href="group__lpsci.html#gadece7c20e6564c0a726f39862b5e8fdd">LPSCI_GetStatusFlags</a></div><div class="ttdeci">uint32_t LPSCI_GetStatusFlags(UART0_Type *base)</div><div class="ttdoc">Gets LPSCI status flags. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:430</div></div>
<div class="ttc" id="group__lpsci_html_a733be3042be24bb3eb6f0c6a82d28862"><div class="ttname"><a href="group__lpsci.html#a733be3042be24bb3eb6f0c6a82d28862">_lpsci_handle::txDataSizeAll</a></div><div class="ttdeci">size_t txDataSizeAll</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:171</div></div>
<div class="ttc" id="group__lpsci_html_gabc500f220e7d1dcf00baddf6337d31ba"><div class="ttname"><a href="group__lpsci.html#gabc500f220e7d1dcf00baddf6337d31ba">LPSCI_TransferAbortReceive</a></div><div class="ttdeci">void LPSCI_TransferAbortReceive(UART0_Type *base, lpsci_handle_t *handle)</div><div class="ttdoc">Aborts interrupt driven data receiving. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:779</div></div>
<div class="ttc" id="group__ksdk__common_html_gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533"><div class="ttname"><a href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a9f1b2d0eeee16f209d7eed3bdb1cf533">kStatusGroup_LPSCI</a></div><div class="ttdef"><b>Definition:</b> fsl_common.h:77</div></div>
<div class="ttc" id="group__lpsci_html_ga63bf1a445a943202ea7c86a90141f56c"><div class="ttname"><a href="group__lpsci.html#ga63bf1a445a943202ea7c86a90141f56c">LPSCI_EnableTx</a></div><div class="ttdeci">static void LPSCI_EnableTx(UART0_Type *base, bool enable)</div><div class="ttdoc">Enables or disables the LPSCI transmitter. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:448</div></div>
<div class="ttc" id="group__lpsci_html_a1edf99079502ab6deff849f01807ae45"><div class="ttname"><a href="group__lpsci.html#a1edf99079502ab6deff849f01807ae45">lpsci_config_t::parityMode</a></div><div class="ttdeci">lpsci_parity_mode_t parityMode</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:144</div></div>
<div class="ttc" id="group__lpsci_html_a78f9703861dd365a513c2c5aab9f9239"><div class="ttname"><a href="group__lpsci.html#a78f9703861dd365a513c2c5aab9f9239">lpsci_transfer_t::dataSize</a></div><div class="ttdeci">size_t dataSize</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:156</div></div>
<div class="ttc" id="group__lpsci_html_ga0f55bc5c5ac9e88598da3b57b8f80d29"><div class="ttname"><a href="group__lpsci.html#ga0f55bc5c5ac9e88598da3b57b8f80d29">LPSCI_EnableRxDMA</a></div><div class="ttdeci">static void LPSCI_EnableRxDMA(UART0_Type *base, bool enable)</div><div class="ttdoc">Enables or disables the LPSCI receiver DMA. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:418</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224beacb0ea6d4b7af5a744a5901f0b1b7520f"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beacb0ea6d4b7af5a744a5901f0b1b7520f">kLPSCI_ParityErrorFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:122</div></div>
<div class="ttc" id="group__lpsci_html_ga4246a6f2a19ea028917059e372592b7d"><div class="ttname"><a href="group__lpsci.html#ga4246a6f2a19ea028917059e372592b7d">LPSCI_GetDefaultConfig</a></div><div class="ttdeci">void LPSCI_GetDefaultConfig(lpsci_config_t *config)</div><div class="ttdoc">Gets the default configuration structure and saves the configuration to a user-provided pointer...</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:317</div></div>
<div class="ttc" id="group__lpsci_html_a3fc25566538e662d74eb1444598a8277"><div class="ttname"><a href="group__lpsci.html#a3fc25566538e662d74eb1444598a8277">_lpsci_handle::rxRingBufferSize</a></div><div class="ttdeci">size_t rxRingBufferSize</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:177</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a4d3b44544996f003e9246e4b725e1db3"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a4d3b44544996f003e9246e4b725e1db3">kStatus_LPSCI_RxIdle</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:53</div></div>
<div class="ttc" id="group__lpsci_html_a1f9d0ac47a5cdabb34988d5d811aceaf"><div class="ttname"><a href="group__lpsci.html#a1f9d0ac47a5cdabb34988d5d811aceaf">_lpsci_handle::txDataSize</a></div><div class="ttdeci">volatile size_t txDataSize</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:170</div></div>
<div class="ttc" id="group__lpsci_html_ga1e71c77aa3c6663fa13a36614ecd5218"><div class="ttname"><a href="group__lpsci.html#ga1e71c77aa3c6663fa13a36614ecd5218">lpsci_stop_bit_count_t</a></div><div class="ttdeci">lpsci_stop_bit_count_t</div><div class="ttdoc">LPSCI stop bit count. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:76</div></div>
<div class="ttc" id="group__lpsci_html_ga44c795eb194dad914d8394d99c1d4552"><div class="ttname"><a href="group__lpsci.html#ga44c795eb194dad914d8394d99c1d4552">LPSCI_TransferStopRingBuffer</a></div><div class="ttdeci">void LPSCI_TransferStopRingBuffer(UART0_Type *base, lpsci_handle_t *handle)</div><div class="ttdoc">Aborts the background transfer and uninstalls the ring buffer. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:590</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a2288eb249cfe864ee29a1e53e5254f47"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a2288eb249cfe864ee29a1e53e5254f47">kStatus_LPSCI_RxRingBufferOverrun</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:59</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdba1b0296dd785a43396080e4167452ff54"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba1b0296dd785a43396080e4167452ff54">kLPSCI_RxOverrunInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:97</div></div>
<div class="ttc" id="group__lpsci_html_structlpsci__config__t"><div class="ttname"><a href="group__lpsci.html#structlpsci__config__t">lpsci_config_t</a></div><div class="ttdoc">LPSCI configure structure. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:141</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdbaea5f6ef08a50d1576b99c3aad6618fe4"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaea5f6ef08a50d1576b99c3aad6618fe4">kLPSCI_TxDataRegEmptyInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:93</div></div>
<div class="ttc" id="group__lpsci_html_struct__lpsci__handle"><div class="ttname"><a href="group__lpsci.html#struct__lpsci__handle">_lpsci_handle</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:167</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea3132ea82244866881f523c3bcd55c198"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea3132ea82244866881f523c3bcd55c198">kLPSCI_ParityErrorInRxDataRegFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:135</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224bea6923b3152838210054bfc4791d8ac43c"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224bea6923b3152838210054bfc4791d8ac43c">kLPSCI_FramingErrorFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:120</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a432958a10e6bf938ba2301f890e84a55"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a432958a10e6bf938ba2301f890e84a55">kStatus_LPSCI_ParityError</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:64</div></div>
<div class="ttc" id="group__lpsci_html_gaa39e1eb0307e57d24a3305f86ba5a7d1"><div class="ttname"><a href="group__lpsci.html#gaa39e1eb0307e57d24a3305f86ba5a7d1">LPSCI_GetDataRegisterAddress</a></div><div class="ttdeci">static uint32_t LPSCI_GetDataRegisterAddress(UART0_Type *base)</div><div class="ttdoc">Gets the LPSCI data register address. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:383</div></div>
<div class="ttc" id="group__lpsci_html_gga581702dbe0430a177c664a5d495224beaa7a30af77f7c1c6725fa055aa4c466b2"><div class="ttname"><a href="group__lpsci.html#gga581702dbe0430a177c664a5d495224beaa7a30af77f7c1c6725fa055aa4c466b2">kLPSCI_RxActiveFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:130</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16acb9eaa06221caa3b15102135bcc58cb0"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16acb9eaa06221caa3b15102135bcc58cb0">kStatus_LPSCI_TxIdle</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:52</div></div>
<div class="ttc" id="group__lpsci_html_ga914e25b9b58c086d6ee790f7bbe96de1"><div class="ttname"><a href="group__lpsci.html#ga914e25b9b58c086d6ee790f7bbe96de1">lpsci_parity_mode_t</a></div><div class="ttdeci">lpsci_parity_mode_t</div><div class="ttdoc">LPSCI parity mode. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:68</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdba2fcadea24f1f01f6e2953ad0a96e5621"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba2fcadea24f1f01f6e2953ad0a96e5621">kLPSCI_NoiseErrorInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:98</div></div>
<div class="ttc" id="group__lpsci_html_gga914e25b9b58c086d6ee790f7bbe96de1aa95669109142cc4f43e257e702ddd6fe"><div class="ttname"><a href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1aa95669109142cc4f43e257e702ddd6fe">kLPSCI_ParityEven</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:71</div></div>
<div class="ttc" id="group__lpsci_html_ac4f75206cf9b8009cdf64a30e05b01d8"><div class="ttname"><a href="group__lpsci.html#ac4f75206cf9b8009cdf64a30e05b01d8">_lpsci_handle::rxRingBufferHead</a></div><div class="ttdeci">volatile uint16_t rxRingBufferHead</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:178</div></div>
<div class="ttc" id="group__lpsci_html_gga1e71c77aa3c6663fa13a36614ecd5218a12446eb122de9a901036aabab33d4bdc"><div class="ttname"><a href="group__lpsci.html#gga1e71c77aa3c6663fa13a36614ecd5218a12446eb122de9a901036aabab33d4bdc">kLPSCI_TwoStopBit</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:79</div></div>
<div class="ttc" id="group__lpsci_html_gaf279ff1dadb04bb817242c8be3c31acf"><div class="ttname"><a href="group__lpsci.html#gaf279ff1dadb04bb817242c8be3c31acf">LPSCI_TransferHandleIRQ</a></div><div class="ttdeci">void LPSCI_TransferHandleIRQ(UART0_Type *base, lpsci_handle_t *handle)</div><div class="ttdoc">LPSCI IRQ handle function. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:809</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdba38b0f225428a019dff8bada27b15dc0d"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdba38b0f225428a019dff8bada27b15dc0d">kLPSCI_ParityErrorInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:100</div></div>
<div class="ttc" id="group__lpsci_html_a2e294dd14122c554baa0665072b4ca7a"><div class="ttname"><a href="group__lpsci.html#a2e294dd14122c554baa0665072b4ca7a">_lpsci_handle::userData</a></div><div class="ttdeci">void * userData</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:182</div></div>
<div class="ttc" id="group__lpsci_html_gad2eb23791ceb822e4d93d11af4ce9ee8"><div class="ttname"><a href="group__lpsci.html#gad2eb23791ceb822e4d93d11af4ce9ee8">LPSCI_TransferGetSendCount</a></div><div class="ttdeci">status_t LPSCI_TransferGetSendCount(UART0_Type *base, lpsci_handle_t *handle, uint32_t *count)</div><div class="ttdoc">Get the number of bytes that have been written to LPSCI TX register. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:644</div></div>
<div class="ttc" id="group__lpsci_html_gga914e25b9b58c086d6ee790f7bbe96de1afa5d5edd522b4ade258f3792901927c1"><div class="ttname"><a href="group__lpsci.html#gga914e25b9b58c086d6ee790f7bbe96de1afa5d5edd522b4ade258f3792901927c1">kLPSCI_ParityOdd</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:72</div></div>
<div class="ttc" id="group__lpsci_html_ga016076dd8bc458c5753df306519324e6"><div class="ttname"><a href="group__lpsci.html#ga016076dd8bc458c5753df306519324e6">LPSCI_TransferSendBlocking</a></div><div class="ttdeci">void LPSCI_TransferSendBlocking(UART0_Type *base, const uint8_t *data, size_t length)</div><div class="ttdoc">Writes to the TX register using a blocking method. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:488</div></div>
<div class="ttc" id="group__lpsci_html_gae1fc41709768728caf4b29fd2ab889e7"><div class="ttname"><a href="group__lpsci.html#gae1fc41709768728caf4b29fd2ab889e7">LPSCI_TransferReceiveNonBlocking</a></div><div class="ttdeci">status_t LPSCI_TransferReceiveNonBlocking(UART0_Type *base, lpsci_handle_t *handle, lpsci_transfer_t *xfer, size_t *receivedBytes)</div><div class="ttdoc">Receives buffer of data using the interrupt method. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:661</div></div>
<div class="ttc" id="group__lpsci_html_ac6fe4a8b966fb5611f77358b819671b2"><div class="ttname"><a href="group__lpsci.html#ac6fe4a8b966fb5611f77358b819671b2">lpsci_config_t::enableRx</a></div><div class="ttdeci">bool enableRx</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:149</div></div>
<div class="ttc" id="group__ksdk__common_html_gaaabdaf7ee58ca7269bd4bf24efcde092"><div class="ttname"><a href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a></div><div class="ttdeci">int32_t status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> fsl_common.h:121</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a24c82dc147e0ddc96f7b882a8c4d8d54"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a24c82dc147e0ddc96f7b882a8c4d8d54">kStatus_LPSCI_NoiseError</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:62</div></div>
<div class="ttc" id="group__lpsci_html_a180fd12c1a88bb61ac4b817f4e4e6bcd"><div class="ttname"><a href="group__lpsci.html#a180fd12c1a88bb61ac4b817f4e4e6bcd">_lpsci_handle::rxDataSizeAll</a></div><div class="ttdeci">size_t rxDataSizeAll</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:174</div></div>
<div class="ttc" id="group__lpsci_html_structlpsci__transfer__t"><div class="ttname"><a href="group__lpsci.html#structlpsci__transfer__t">lpsci_transfer_t</a></div><div class="ttdoc">LPSCI transfer structure. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:153</div></div>
<div class="ttc" id="group__lpsci_html_gaf1fb22a4d3ce4827ff8c9feb0b1e7988"><div class="ttname"><a href="group__lpsci.html#gaf1fb22a4d3ce4827ff8c9feb0b1e7988">LPSCI_GetEnabledInterrupts</a></div><div class="ttdeci">uint32_t LPSCI_GetEnabledInterrupts(UART0_Type *base)</div><div class="ttdoc">Gets the enabled LPSCI interrupts. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.c:422</div></div>
<div class="ttc" id="group__lpsci_html_ggaa58d87d0b59b83414988fbb1b7c79cdbaacef19879d6eee40c11bd0ced8756602"><div class="ttname"><a href="group__lpsci.html#ggaa58d87d0b59b83414988fbb1b7c79cdbaacef19879d6eee40c11bd0ced8756602">kLPSCI_TransmissionCompleteInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:94</div></div>
<div class="ttc" id="group__lpsci_html_ga581702dbe0430a177c664a5d495224be"><div class="ttname"><a href="group__lpsci.html#ga581702dbe0430a177c664a5d495224be">_lpsci_status_flag_t</a></div><div class="ttdeci">_lpsci_status_flag_t</div><div class="ttdoc">LPSCI status flags. </div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:108</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a1ac38136f23a4f1ca18a86972ee51246"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a1ac38136f23a4f1ca18a86972ee51246">kStatus_LPSCI_BaudrateNotSupport</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:56</div></div>
<div class="ttc" id="group__lpsci_html_a8ad815cf0af5fd681ee59d3b662aa87a"><div class="ttname"><a href="group__lpsci.html#a8ad815cf0af5fd681ee59d3b662aa87a">_lpsci_handle::callback</a></div><div class="ttdeci">lpsci_transfer_callback_t callback</div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:181</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a3d001d307f032b50fa810b1374abf4e0"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a3d001d307f032b50fa810b1374abf4e0">kStatus_LPSCI_RxHardwareOverrun</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:61</div></div>
<div class="ttc" id="group__lpsci_html_ggac1d1feb1e13e35beba93e7afce633e16a741410f4c0886c858378ce1ac51da0a5"><div class="ttname"><a href="group__lpsci.html#ggac1d1feb1e13e35beba93e7afce633e16a741410f4c0886c858378ce1ac51da0a5">kStatus_LPSCI_Error</a></div><div class="ttdef"><b>Definition:</b> fsl_lpsci.h:58</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c718a368270b13c54d94892d20736f45.html">drivers</a></li><li class="navelem"><a class="el" href="dir_2553c34f4e89eced91b26faa500bb930.html">lpsci</a></li><li class="navelem"><b>fsl_lpsci.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
